package testGuava.example.testSpring;

import org.junit.Test;
import org.springframework.util.ClassUtils;

/**
 * @ClassName : org.example.testSpring.ClassUtiltest
 * @Description : 类描述
 * Created by cyd on 2021-09-15 16:10:11
 */
public class ClassUtilTest {

    /**
     * 判断类是否存在
     */
    @Test
    public void test() {
        String className = "org.example.testSpring.ClassUtilTest";
        boolean present = ClassUtils.isPresent(className, null);
        System.out.println(present);
    }
}
